package app.model;

/** 
 * 
 * @author Faton Alia
 * @author Nachman Mathieu
 * @author David Gianorio
 * 
 * This enum will contains all primary categories */

public enum CategoriesEnum {
	
	GAMES("Games", GamesCategoriesEnum.values()),
	EDUCATION("Education",EducationCategoriesEnum.values()),
	SOCIAL_MESSAGING("Social & Messaging",SocialMessagingCategoriesEnum.values()),
	ENTERTAINMENT("Entertainment",EntertainmentCategoriesEnum.values()),
	FINANCE("Finance",FinanceCategoriesEnum.values()),
	FOOD("Food",FoodCategoriesEnum.values()),
	HEALTH("Health",HealthCategoriesEnum.values()),
	LIFESTYLE("LifeStyle",LifeStyleCategoriesEnum.values()),
	PRODUCTIVITY("Productivity",ProductivityCategoriesEnum.values()),
	MUSIC("Music",MusicCategoriesEnum.values()),
	VIDEO("Video",VideoCategoriesEnum.values()),
	NEWS_AND_WEATHER("News and weather",NewsAndWeatherCategoriesEnum.values()),
	TRAVEL("Travel",TravelCategoriesEnum.values()),
	ADULT("Adult",AdultCategoriesEnum.values()),
	SPORTS("Sports",SportsCategoriesEnum.values()),
	MISCELLANEOUS("Miscellaneous",MiscellaneousCategoriesEnum.values());
	
	
	private String categoryName;
	private Enum[] subCategoriesEnum;
	
	private CategoriesEnum(String categoryName, Enum[] subCategoriesEnum ){
		this.categoryName = categoryName;
		this.subCategoriesEnum = new Enum[50];
	}
	
	public String getCategorie(){
		return this.categoryName;
	}
}